<template>
  <router-view v-slot="{ Component }">
    <transition name="fade_app" mode="out-in">
      <component :is="Component" />
    </transition>
  </router-view>
</template>

<script setup></script>
<style scoped lang="scss">
.fade_app-enter-active,
.fade_app-leave-active {
  transition: all 0.5s ease-in-out;
}

.fade_app-enter,
.fade_app-leave-to {
  transform: translateX(100%);
  opacity: 0;
}
</style>
